#include "yacc_parser/IdentifierList.h"
#include "yacc_parser/Identifier.h"


IdentifierList::IdentifierList( Identifier *pIdentifier )
{
	m_oIdentifiers.push_back(pIdentifier->getIdentifier());
	delete pIdentifier;
}

IdentifierList::~IdentifierList()
{

}

void IdentifierList::addIdentifier( Identifier *pIdentifier )
{
	m_oIdentifiers.push_back(pIdentifier->getIdentifier());
	delete pIdentifier;
}

std::vector<SymbolBase *> & IdentifierList::getIdentifiers()
{
	return m_oIdentifiers;
}
